
html { }

body {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0px;
}

.ruler {
  background: rgba(255,255,255,1);
  color: #444;
  font-family: source code pro, "Arial Narrow", "Helvetica Neue", Helvetica, Arial, Veranda, sans-serif;
  font-size: 12px;
  line-height: 14px;
  overflow: hidden;
}

.ruler > div { background: #444; }

.hRule {
  position: absolute;
  width: 100%;
  height: 18px;
  left: 0px;
  top: 0px;
  border-bottom: 1px solid;
  z-index: 9;
}

.vRule {
  position: absolute;
  /* min-height: 100%; */
  width: 18px;
  left: 0px;
  top: 0px;
  border-right: 1px solid;
  z-index: 9;
}

.corner {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 18px;
  height: 18px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  z-index: 10;
}

.hRule .tickLabel {
  position: absolute;
  top: 0px;
  width: 1px;
  height: 100%;
  text-indent: 1px;
}

.hRule .tickMajor {
  position: absolute;
  bottom: 0px;
  width: 1px;
  height: 6px;
}

.hRule .tickMinor {
  position: absolute;
  bottom: 0px;
  width: 1px;
  height: 4px;
}

.vRule .tickLabel {
  position: absolute;
  right: 0px;
  height: 1px;
  width: 100%;
  text-indent: 1px;
}

.vRule .tickLabel span {
  display: block;
  position: absolute;
  top: 1px;
  right: 0px;
  margin-right: 18px;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  -webkit-transform-origin: top right;
  -moz-transform-origin: top right;
  -ms-transform-origin: top right;
  -o-transform-origin: top right;
  transform-origin: top right;
}

.vRule .tickMajor {
  position: absolute;
  right: 0px;
  height: 1px;
  width: 6px;
}

.vRule .tickMinor {
  position: absolute;
  right: 0px;
  height: 1px;
  width: 4px;
}

.vMouse {
  display: block;
  position: absolute;
  width: 100%;
  height: 0px;
  left: 0;
  background: rgba(0,0,0,0);
  border-bottom: 1px dotted;
  z-index: 11;
}

.hMouse {
  display: block;
  position: absolute;
  height: 100%;
  width: 0px;
  top: 0;
  background: rgba(0,0,0,0);
  border-left: 1px dotted;
  z-index: 11;
}

.mousePosBox {
  height: 16px;
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-family: source code pro;
  font-size: 12px;
  line-height: 16px;
  border: 1px solid rgba(0,0,0,0.5);
  position: absolute;
  white-space: no-wrap;
  display: block;
  overflow-y: hidden;
  float: left;
  text-align: left;
  left: -50%;
  top: -50%;
  padding: 0 2px;
}
